700
Is it possible to colour a particular column for specified values

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat = exgantt1.ConditionalFormats.Add("int(%1) in (3,4,5)",null);
	var_ConditionalFormat.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXGANTTLib.FormatApplyToEnum)0x1;
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(0),1,1);
	var_Items.set_CellCaption(var_Items.AddItem(2),1,3);
	var_Items.set_CellCaption(var_Items.AddItem(4),1,5);
exgantt1.EndUpdate();

699
Is it possible to colour a particular column

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellBackColor,255);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(0),1,1);
	var_Items.set_CellCaption(var_Items.AddItem(2),1,3);
	var_Items.set_CellCaption(var_Items.AddItem(4),1,5);
exgantt1.EndUpdate();

698
How do i get all the children items that are under a certain parent Item handle
exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("P");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
exontrol.EXGANTTLib.Items var_Items1 = exgantt1.Items;
	int hChild = var_Items1.get_ItemChild(var_Items1.FirstVisibleItem);
	System.Diagnostics.Debug.Print( var_Items1.get_CellCaption(hChild,0).ToString() );
	System.Diagnostics.Debug.Print( var_Items1.get_CellCaption(var_Items1.get_NextSiblingItem(hChild),0).ToString() );
exgantt1.EndUpdate();

697
How can I change the predefined labels being displayed in the chart's header so it shows the data in short format with no literals

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 3;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
	var_Chart.AllowOverviewZoom = exontrol.EXGANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exYear,"<%yy%><|><%yyyy%>");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exHalfYear,"");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exQuarterYear,"");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exMonth,"<|><%m%><|><%m%>/<%yy%><|><%m%>/<%yyyy%>");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exThirdMonth,"");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%m%>/<%d%>/<%yy%><r><%ww%><|><%m%>/<%d%>/<%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exDay,"<|><%d%><|><%m%>/<%d%>/<%yy%><|><%m%>/<%d%>/<%yyyy%><||><||>4096");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exHour,"<|><%hh%><|><%m%>/<%d%>/<%yy%> <%h%> <%AM/PM%><|><%m%>/<%d%>/<%yyyy%> <%h%> <%AM/PM%><||><||>65536");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn% <%AM/PM%>><|><%m%>/<%d%>/<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%m%>/<%d%>/<%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exSecond,"<|><%ss%><|><%nn%>:<%ss%><|><%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%m%>/<%d%>/<%yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%m%>/<%d%>/<%yy" +
"yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exYear,"<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exHalfYear,"");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exQuarterYear,"");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exMonth,"<%m%>/<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exThirdMonth,"");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exWeek,"<%m%>/<%d%>/<%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exDay,"<%m%>/<%d%>/<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exHour,"<%m%>/<%d%>/<%yyyy%> <%h%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exMinute,"<%m%>/<%d%>/<%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exSecond,"<%m%>/<%d%>/<%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
exgantt1.EndUpdate();

696
How can I get the caption of focused item
// SelectionChanged event - Fired after a new item has been selected.
private void exgantt1_SelectionChanged(object sender)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		System.Diagnostics.Debug.Print( "Handle" );
		System.Diagnostics.Debug.Print( var_Items.FocusItem.ToString() );
		System.Diagnostics.Debug.Print( "Caption" );
		System.Diagnostics.Debug.Print( var_Items.get_CellCaption(var_Items.FocusItem,0).ToString() );
}
//this.exgantt1.SelectionChanged += new exontrol.EXGANTTLib.exg2antt.SelectionChangedEventHandler(this.exgantt1_SelectionChanged);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

695
How can I get the caption of selected item
// SelectionChanged event - Fired after a new item has been selected.
private void exgantt1_SelectionChanged(object sender)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		System.Diagnostics.Debug.Print( "Handle" );
		System.Diagnostics.Debug.Print( var_Items.get_SelectedItem(0).ToString() );
		System.Diagnostics.Debug.Print( "Caption" );
		System.Diagnostics.Debug.Print( var_Items.get_CellCaption(var_Items.get_SelectedItem(0),0).ToString() );
}
//this.exgantt1.SelectionChanged += new exontrol.EXGANTTLib.exg2antt.SelectionChangedEventHandler(this.exgantt1_SelectionChanged);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

694
How can I highligth the item from the cursor as it moves
// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	exgantt1.BeginUpdate();
	int h = exgantt1.get_ItemFromPoint(-1,-1,c,hit);
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.ClearItemBackColor(exgantt1.get_Background((exontrol.EXGANTTLib.BackgroundPartEnum)0x200 | exontrol.EXGANTTLib.BackgroundPartEnum.exHSRight | exontrol.EXGANTTLib.BackgroundPartEnum.exListOLEDropPosition));
		var_Items.set_ItemBackColor(h,Color.FromArgb(240,250,240));
	exgantt1.set_Background((exontrol.EXGANTTLib.BackgroundPartEnum)0x200 | exontrol.EXGANTTLib.BackgroundPartEnum.exHSRight | exontrol.EXGANTTLib.BackgroundPartEnum.exListOLEDropPosition,h);
	exgantt1.EndUpdate();
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exHLines;
exgantt1.SelBackColor = Color.FromArgb(240,250,240);
exgantt1.SelForeColor = Color.FromArgb(0,0,0);
exgantt1.ShowFocusRect = false;
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.SelBackColor = Color.FromArgb(240,250,240);
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

693
How can I get the item from the cursor
// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	int h = exgantt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( "Handle" );
	System.Diagnostics.Debug.Print( h.ToString() );
	System.Diagnostics.Debug.Print( "Index" );
	System.Diagnostics.Debug.Print( exgantt1.Items.get_ItemToIndex(h).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exHLines;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

692
How can I get the column from the cursor, not only in the header
// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exgantt1.get_ColumnFromPoint(-1,0).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("P1");
exgantt1.Columns.Add("P2");
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.set_CellCaption(h,1,"R2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Cell 1.1"),1,"Cell 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Cell 2.1"),1,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

691
How can I get the column from the cursor
// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exgantt1.get_ColumnFromPoint(-1,-1).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.Columns.Add("P1");
exgantt1.Columns.Add("P2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.set_CellCaption(h,1,"R2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Cell 1.1"),1,"Cell 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Cell 2.1"),1,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

690
How can I get the cell's caption from the cursor
// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	int h = exgantt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( exgantt1.Items.get_CellCaption(h,c).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

689
Is it possible to change the style for the vertical or horizontal grid lines, in the list area

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesVSolid | exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesHDot4;
exgantt1.Columns.Add("C1");
exgantt1.Columns.Add("C2");
exgantt1.Columns.Add("C3");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.set_CellCaption(h,1,"SubItem 1.2");
	var_Items.set_CellCaption(h,2,"SubItem 1.3");
	h = var_Items.AddItem("Item 2");
	var_Items.set_CellCaption(h,1,"SubItem 2.2");
	var_Items.set_CellCaption(h,2,"SubItem 2.3");
exgantt1.EndUpdate();

688
How can I show the bars over the grid lines, i.e. so you cannot see the grid lines 'through' the bar

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.GridLineColor = Color.FromArgb(220,220,220);
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesBehind;
	var_Chart.LevelCount = 2;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.DrawGridLines = true;
		var_Level.GridLineColor = Color.FromArgb(220,220,220);
	exontrol.EXGANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
		var_Bar.Height = 14;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
exgantt1.EndUpdate();

687
Is it possible to change the style for the vertical grid lines, in the chart area only

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesDash;
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesDash;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(1).DrawGridLines = true;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.GridLineColor = Color.FromArgb(255,0,0);
		var_Level.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesVSolid;
	var_Chart.Bars["Task"].Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
exgantt1.EndUpdate();

686
Is it possible to change the style for the grid lines, for instance to be solid not dotted

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesSolid;
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(1).DrawGridLines = true;
	var_Chart.Bars["Task"].Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
exgantt1.EndUpdate();

685
How can I show the grid lines for the chart and list area

exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(1).DrawGridLines = true;
	var_Chart.Bars["Task"].Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);

684
How can I get the link from the point

// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exgantt1.Chart.get_LinkFromPoint(-1,-1).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L1");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L2");
exgantt1.EndUpdate();

683
How can I get the bar from the point

// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exgantt1.Chart.get_BarFromPoint(-1,-1).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
exgantt1.EndUpdate();

682
How can I get the level from the cursor

// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exgantt1.Chart.get_LevelFromPoint(-1,-1).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/25/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 4;

681
I display numbers in my chart, but the AddBar requires a date how can I add a bar

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.FirstVisibleDate = 0;
	var_Chart.ToolTip = "";
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%i%>";
		var_Level.ToolTip = "";
	var_Chart.UnitWidth = 24;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",2,4,null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",6,10,null,null);
exgantt1.EndUpdate();

680
I display numbers in the chart's header but do not want to get displayed negative numbers. How can i do that

// DateChange event - Occurs when the first visible date is changed.
private void exgantt1_DateChange(object sender)
{
	exgantt1.Chart.FirstVisibleDate = 0;
	exgantt1.set_ScrollPartEnable(exontrol.EXGANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXGANTTLib.ScrollPartEnum.exLeftBPart,false);
}
//this.exgantt1.DateChange += new exontrol.EXGANTTLib.exg2antt.DateChangeEventHandler(this.exgantt1_DateChange);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.FirstVisibleDate = 0;
	var_Chart.ToolTip = "";
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%i%>";
		var_Level.ToolTip = "<%i%>";
	var_Chart.UnitWidth = 24;
exgantt1.EndUpdate();

679
How can I display numbers in the chart's header instead dates

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.FirstVisibleDate = 0;
	var_Chart.ToolTip = "";
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%i%>";
		var_Level.ToolTip = "";
	var_Chart.UnitWidth = 24;
exgantt1.EndUpdate();

678
How can I determine that a certain bar is the topmost

exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/27/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Bars A B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"B",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);
	h = var_Items.AddItem("Bars B A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

677
Is there any automatic way to change a property for all bars in the chart

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K4",null);
	var_Items.set_ItemBar(0,"<*>",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

676
I have an EBN file how can I apply different colors to it, so no need to create a new one

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.SelBackColor = exgantt1.BackColor;
exgantt1.SelForeColor = exgantt1.ForeColor;
exgantt1.HasLines = exontrol.EXGANTTLib.HierarchyLineEnum.exNoLine;
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Default");
	var_Items.set_ItemBackColor32(hC,0x1000000);
	var_Items.set_ItemHeight(var_Items.InsertItem(h,null,""),6);
	hC = var_Items.InsertItem(h,null,"Light Green");
	var_Items.set_ItemBackColor32(hC,0x100ff00);
	var_Items.set_ItemHeight(var_Items.InsertItem(h,null,""),6);
	hC = var_Items.InsertItem(h,null,"Dark Green");
	var_Items.set_ItemBackColor32(hC,0x1007f00);
	var_Items.set_ItemHeight(var_Items.InsertItem(h,null,""),6);
	hC = var_Items.InsertItem(h,null,"Magenta");
	var_Items.set_ItemBackColor32(hC,0x1ff7fff);
	var_Items.set_ItemHeight(var_Items.InsertItem(h,null,""),6);
	hC = var_Items.InsertItem(h,null,"Yellow");
	var_Items.set_ItemBackColor32(hC,0x17fffff);
	var_Items.set_ItemHeight(var_Items.InsertItem(h,null,""),6);
	var_Items.set_ExpandItem(h,true);

675
How can I remove all bars from the chart
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.ClearBars(0);

674
How can I change the color for all bars with a specified key

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(0,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

673
Is there any automatic way to change a property for all bars with a specified key

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(0,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

672
How can I remove all bars with specified key
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.RemoveBar(0,"K1");

671
Is there any option to show gradient bars without using EBN technology

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Bar var_Bar = exgantt1.Chart.Bars["Task"];
	var_Bar.Color = Color.FromArgb(255,0,0);
	var_Bar.StartColor = Color.FromArgb(0,255,0);
	var_Bar.EndColor = Color.FromArgb(255,255,0);
	var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternBox;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);

670
How can I disable the control's splitter so the user can't resize the list area

exgantt1.OnResizeControl = exontrol.EXGANTTLib.OnResizeControlEnum.exDisableSplitter | exontrol.EXGANTTLib.OnResizeControlEnum.exResizeChart;
exgantt1.Chart.set_PaneWidth(false,60);

669
How can I disable the control's splitter so the user can't resize the chart area

exgantt1.OnResizeControl = exontrol.EXGANTTLib.OnResizeControlEnum.exDisableSplitter;
exgantt1.Chart.set_PaneWidth(true,60);

668
How can I define a bar that shows two colors, one up and one down, without using skin or EBN files

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Bar var_Bar = exgantt1.Chart.Bars.Add("A");
	var_Bar.Color = Color.FromArgb(255,0,0);
	var_Bar.Shape = exontrol.EXGANTTLib.ShapeBarEnum.exShapeSolidUp;
	var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
exontrol.EXGANTTLib.Bar var_Bar1 = exgantt1.Chart.Bars.Add("B");
	var_Bar1.Color = Color.FromArgb(128,0,0);
	var_Bar1.Shape = exontrol.EXGANTTLib.ShapeBarEnum.exShapeSolidDown;
	var_Bar1.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
exgantt1.Chart.Bars.Add("A%B").Shortcut = "AB";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"AB",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarPercent,1);
exgantt1.EndUpdate();

667
Does your control support RightToLeft property for RTL languages or right to left

exgantt1.BeginUpdate();
exgantt1.ScrollBars = exontrol.EXGANTTLib.ScrollBarsEnum.exDisableBoth;
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("P1") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
exgantt1.RightToLeft = true;
exgantt1.EndUpdate();

666
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

exgantt1.BeginUpdate();
exgantt1.ScrollBars = exontrol.EXGANTTLib.ScrollBarsEnum.exDisableBoth;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	var_Columns.Add("C4");
	var_Columns.Add("C5");
	var_Columns.Add("C6");
	var_Columns.Add("C7");
	var_Columns.Add("C8");
exgantt1.RightToLeft = true;
exgantt1.EndUpdate();

665
Can I display the cell's check box after the text

exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellHasCheckBox(var_Items.AddItem("Caption 1"),0,true);
	var_Items.set_CellHasCheckBox(var_Items.AddItem("Caption 2"),0,true);

664
Can I change the order of the parts in the cell, as checkbox after the text, and so on

exgantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
(exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check,icon,icons,picture");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Text");
	var_Items.set_CellImage(h,0,1);
	var_Items.set_CellHasCheckBox(h,0,true);

663
Can I have an image displayed after the text. Can I get that effect without using HTML content

exgantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
(exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,icon,check,icons,picture");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Text");
	var_Items.set_CellImage(h,0,1);

662
Is there any option to print the columns section on each page

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Col 1");
exgantt1.Columns.Add("Col 2");
exgantt1.MarkSearchColumn = false;
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.LevelCount = 2;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Col 1");
	var_Items.set_CellCaption(h1,1,"Col 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Col 1");
	var_Items.set_CellCaption(h2,1,"Col 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("2/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkStartPos,0);
exgantt1.EndUpdate();
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.Options = "ColumnsOnEveryPage=-2";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

661
Is there any option to print the columns section on each page

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.LevelCount = 2;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("2/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkStartPos,0);
exgantt1.EndUpdate();
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.Options = "ColumnsOnEveryPage=1";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

660
How do I print the control's content

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkStartPos,0);
exgantt1.EndUpdate();
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

659
How can I display the column using currency format and enlarge the font for certain values

exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Currency") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column.FormatColumn = "len(value) ? ((0:=dbl(value)) < 10 ? '<fgcolor=808080><font ;7>' : '<b>') + currency(=:0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
	var_Items.AddItem("9.94");
	var_Items.AddItem("11.94");
	var_Items.AddItem("1000");

658
How can I highlight only parts of the cells

exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column.FormatColumn = "value replace 'hil' with '<fgcolor=FF0000><b>hil</b></fgcolor>'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

657
How can I get the number of occurrences of a specified string in the cell

exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("occurrences") as exontrol.EXGANTTLib.Column);
	var_Column.ComputedField = "lower(%0) count 'o'";
	var_Column.FormatColumn = "'contains ' + value + ' of \\'o\\' chars'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1 oooof the root");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

656
How can I display dates in my format

exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column.FormatColumn = "'<b>' + year(0:=date(value)) + '</b><fgcolor=808080><font ;6> (' + month(=:0) + ' - ' + day(=:0) +')'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/21/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/24/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

655
How can I display dates in short format

(exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column).FormatColumn = "shortdate(value)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

654
How can I display dates in long format

(exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column).FormatColumn = "longdate(value)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

653
How can I display only the right part of the cell

exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Right") as exontrol.EXGANTTLib.Column);
	var_Column.ComputedField = "%0 right 2";
	var_Column.FormatColumn = "'\"' + value + '\"'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"SChild 3");
	var_Items.set_ExpandItem(h,true);

652
How can I display only the left part of the cell

exgantt1.Columns.Add("");
(exgantt1.Columns.Add("Left") as exontrol.EXGANTTLib.Column).ComputedField = "%0 left 2";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"SChild 3");
	var_Items.set_ExpandItem(h,true);

651
How can I display true or false instead 0 and -1

(exgantt1.Columns.Add("Boolean") as exontrol.EXGANTTLib.Column).FormatColumn = "value != 0 ? 'true' : 'false'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(true);
	var_Items.AddItem(false);
	var_Items.AddItem(true);
	var_Items.AddItem(0);
	var_Items.AddItem(1);

650
How can I display icons or images instead numbers

exgantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Icons") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column.FormatColumn = "'The cell displays the icon <img>'+value+'</img> instead ' + value";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(1);
	var_Items.AddItem(2);
	var_Items.AddItem(3);

649
How can I display the column using currency

(exgantt1.Columns.Add("Currency") as exontrol.EXGANTTLib.Column).FormatColumn = "currency(dbl(value))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
	var_Items.AddItem("0");
	var_Items.AddItem(5);
	var_Items.AddItem("10000.99");

648
How can I display the currency only for not empty cells

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Currency") as exontrol.EXGANTTLib.Column).ComputedField = "len(%0) ? currency(dbl(%0)) : ''";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
	var_Items.AddItem("0");
	var_Items.set_ItemBackColor(var_Items.AddItem(null),Color.FromArgb(255,128,128));
	var_Items.AddItem("10000.99");

647
Is there a function to display the number of days between two date including the number of hours

(exgantt1.Columns.Add("Start") as exontrol.EXGANTTLib.Column).Width = 32;
exgantt1.Columns.Add("End");
(exgantt1.Columns.Add("Duration") as exontrol.EXGANTTLib.Column).ComputedField = "2:=((1:=int(0:= date(%1)-date(%0))) = 0 ? '' : str(=:1) + ' day(s)') + ( 3:=round(24*(=:0-floor(=:0))) ? (len(=:2) ? ' and ' : " +
"'') + =:3 + ' hour(s)' : '' )";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("2/22/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("3/14/2002 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("4/11/2003 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

646
Is there a function to display the number of days between two date including the number of hours

exgantt1.Columns.Add("Start");
exgantt1.Columns.Add("End");
(exgantt1.Columns.Add("Duration") as exontrol.EXGANTTLib.Column).ComputedField = "\"D \" + int(date(%1)-date(%0)) + \" H \" + round(24*(date(%1)-date(%0) - floor(date(%1)-date(%0))))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/14/2001 23:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("2/22/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("3/14/2002 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("4/11/2003 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

645
How can I display the number of days between two dates

exgantt1.Columns.Add("Start");
exgantt1.Columns.Add("End");
(exgantt1.Columns.Add("Duration") as exontrol.EXGANTTLib.Column).ComputedField = "(date(%1)-date(%0)) + ' days'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("2/22/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("3/14/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("4/11/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

644
How can I get second part of the date

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Second") as exontrol.EXGANTTLib.Column).ComputedField = "sec(date(%0))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:10:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:01:22",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:23:01",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:11:59",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

643
How can I get minute part of the date

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Minute") as exontrol.EXGANTTLib.Column).ComputedField = "min(date(%0))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:10:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:01:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:23:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:11:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

642
How can I check the hour part only so I know it was afternoon

exgantt1.ConditionalFormats.Add("hour(%0)>=12",null).Bold = true;
exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Hour") as exontrol.EXGANTTLib.Column).ComputedField = "hour(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

641
What about a function to get the day in the week, or days since Sunday

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("WeekDay") as exontrol.EXGANTTLib.Column).ComputedField = "weekday(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

640
Is there any function to get the day of the year or number of days since January 1st

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Day since January 1st") as exontrol.EXGANTTLib.Column).ComputedField = "yearday(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

639
How can I display only the day of the date

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Day") as exontrol.EXGANTTLib.Column).ComputedField = "day(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

638
How can I display only the month of the date

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Month") as exontrol.EXGANTTLib.Column).ComputedField = "month(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

637
How can I get only the year part from a date expression

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Year") as exontrol.EXGANTTLib.Column).ComputedField = "year(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

636
Can I convert the expression to date

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column).ComputedField = "date(dbl(%0))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("30000.99");
	var_Items.AddItem("3561.23");
	var_Items.AddItem("1232.34");

635
Can I convert the expression to a number, double or float

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Number + 2") as exontrol.EXGANTTLib.Column).ComputedField = "dbl(%0)+2";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

634
How can I display dates in long format

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("LongFormat") as exontrol.EXGANTTLib.Column).ComputedField = "longdate(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

633
How can I display dates in short format

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("ShortFormat") as exontrol.EXGANTTLib.Column).ComputedField = "shortdate(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

632
How can I display the time only of a date expression

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Time") as exontrol.EXGANTTLib.Column).ComputedField = "'time is:' + time(date(%0))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

631
Is there any function to display currencies, or money formatted as in the control panel

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Currency") as exontrol.EXGANTTLib.Column).ComputedField = "currency(dbl(%0))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
	var_Items.AddItem("10000.99");

630
How can I convert the expression to a string so I can look into the date string expression for month's name

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Str") as exontrol.EXGANTTLib.Column).ComputedField = "str(%0) + ' AA'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

629
Can I display the absolute value or positive part of the number

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Abs") as exontrol.EXGANTTLib.Column).ComputedField = "abs(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

628
Is there any function to get largest number with no fraction part that is not greater than the value

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Floor") as exontrol.EXGANTTLib.Column).ComputedField = "floor(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

627
Is there any function to round the values base on the .5 value

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Round") as exontrol.EXGANTTLib.Column).ComputedField = "round(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

626
How can I get or display the integer part of the cell

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Int") as exontrol.EXGANTTLib.Column).ComputedField = "int(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

625
How can I display names as proper ( first leter of the word must be in uppercase, and the rest in lowercase )

(exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column).ComputedField = "proper(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("root");
	var_Items.InsertItem(h,null,"child child");
	var_Items.InsertItem(h,null,"child child");
	var_Items.InsertItem(h,null,"child child");
	var_Items.set_ExpandItem(h,true);

624
Is there any option to display cells in uppercase

(exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column).ComputedField = "upper(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Chld 3");
	var_Items.set_ExpandItem(h,true);

623
Is there any option to display cells in lowercase

(exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column).ComputedField = "lower(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Chld 3");
	var_Items.set_ExpandItem(h,true);

622
How can I mark the cells that has a specified type, ie strings only

exgantt1.ConditionalFormats.Add("type(%0) = 8",null).ForeColor = Color.FromArgb(255,0,0);
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,2);
	var_Items.InsertItem(h,null,"Chld 3");
	var_Items.set_ExpandItem(h,true);

621
How can I bold the items that contains data or those who displays empty strings

exgantt1.ConditionalFormats.Add("not len(%1)=0",null).Bold = true;
exgantt1.Columns.Add("C1");
exgantt1.Columns.Add("C2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	int hC = var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_CellCaption(hC,1,"1");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

620
Can I change the background color for items or cells that contains a specified string

exgantt1.ConditionalFormats.Add("%0 contains 'hi'",null).BackColor = Color.FromArgb(255,0,0);
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Chld 3");
	var_Items.set_ExpandItem(h,true);

619
Is there any option to change the fore color for cells or items that ends with a specified string

exgantt1.ConditionalFormats.Add("%0 endwith '22'",null).ForeColor = Color.FromArgb(255,0,0);
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 1.22");
	var_Items.InsertItem(h,null,"Child 2.22");
	var_Items.set_ExpandItem(h,true);

618
How can I highlight the cells or items that starts with a specified string

exgantt1.ConditionalFormats.Add("%0 startwith 'C'",null).Underline = true;
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"SChild 3");
	var_Items.set_ExpandItem(h,true);

617
How can I change the background color or the visual appearance using ebn for a particular column

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderBackColor,16777216);
	(var_Columns.Add("Column 3") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderBackColor,16777471);
	var_Columns.Add("Column 4");

616
How can I change the background color for a particular column

exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderBackColor,8439039);
	var_Columns.Add("Column 3");

615
Is it possible to define level in terms of just increasing numbers (not a Date)

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,32);
	var_Chart.UnitWidth = 32;
	var_Chart.FirstVisibleDate = 1000;
	var_Chart.get_Level(0).Label = "<%i%>";

614
How can I hide the non-working units ( days or hours )

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%dddd%>";
		var_Level.Alignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
	var_Chart.get_Level(1).Label = 65536;
	var_Chart.NonworkingHours = 16773375;
	var_Chart.ShowNonworkingUnits = false;
exgantt1.EndUpdate();

613
Is there a way to have the display show the word "Noon" instead "12:00 PM" in the chart's header/levels

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 3;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<b><%mmm%> <%d%>, <%yyyy%></b>";
		var_Level.Alignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Unit = exontrol.EXGANTTLib.UnitEnum.exDay;
	exontrol.EXGANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%h%>:00 <%AM/PM%>";
		var_Level1.Alignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
		var_Level1.Unit = exontrol.EXGANTTLib.UnitEnum.exHour;
		var_Level1.DrawTickLines = true;
		var_Level1.DrawGridLines = true;
		var_Level1.set_ReplaceLabel("12:00 PM","<fgcolor=0000FF><b>Noon</b></fgcolor>");
	exontrol.EXGANTTLib.Level var_Level2 = var_Chart.get_Level(2);
		var_Level2.Label = "";
		var_Level2.Unit = exontrol.EXGANTTLib.UnitEnum.exMinute;
		var_Level2.Count = 15;

612
How can I change the selection background color in the chart area

exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.SelBackColor = Color.FromArgb(255,0,0);
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);

611
How can I change the selection background color in the chart area

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.SelBackColor32 = 0x1000000;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);

610
Is there any way to extend the selection on the chart

exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.SelBackColor = exgantt1.SelBackColor;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);

609
How can I display the column's header using multiple lines

exgantt1.HeaderHeight = 128;
exgantt1.HeaderSingleLine = false;
(exgantt1.Columns.Add("This is just a column that should break the header.") as exontrol.EXGANTTLib.Column).Width = 32;
exgantt1.Columns.Add("This is just another column that should break the header.");

608
How can change the width, transparency, style, visual appearance ( EBN), of the vertical bar that shows the current date-time

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor32 = 0x1000000;
	var_Chart.MarkNowWidth = 6;
	var_Chart.MarkNowTransparent = 50;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

607
How can change the width, style, visual appearance ( EBN), of the vertical bar that shows the current time

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor32 = 0x1000000;
	var_Chart.MarkNowWidth = 6;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

606
How can I show a vertical bar that indicates the current time

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor = Color.FromArgb(0,0,255);
	var_Chart.MarkNowWidth = 7;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

605
How can I show semi-transparent the vertical bar that indicates the current time

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor = Color.FromArgb(0,0,255);
	var_Chart.MarkNowWidth = 7;
	var_Chart.MarkNowTransparent = 50;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

604
Is there any way to highlight or show a vertical bar that indicates the current time, from 15 to 15 seconds

exgantt1.Chart.LevelCount = 2;
exgantt1.Chart.get_Level(0).Label = 1048576;
exontrol.EXGANTTLib.Level var_Level = exgantt1.Chart.get_Level(1);
	var_Level.Label = "<%ss%>";
	var_Level.Count = 15;
exgantt1.Chart.MarkNowColor = Color.FromArgb(0,0,255);
exgantt1.Chart.MarkNowCount = 15;
exgantt1.Chart.MarkNowWidth = 3;

603
Is there any way to highlight or show a vertical bar that indicates the current time, from minute to minute, hour and so on

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.UnitWidth = 48;
	var_Chart.LevelCount = 1;
	var_Chart.get_Level(0).Label = 1048576;
	var_Chart.MarkNowColor = Color.FromArgb(255,0,0);
	var_Chart.MarkNowUnit = exontrol.EXGANTTLib.UnitEnum.exMinute;
	var_Chart.MarkNowWidth = var_Chart.UnitWidth;

602
Is there any way to highlight or show a vertical bar that indicates the current time

exgantt1.Chart.LevelCount = 2;
exgantt1.Chart.get_Level(0).Label = 1048576;
exontrol.EXGANTTLib.Level var_Level = exgantt1.Chart.get_Level(1);
	var_Level.Label = "<%ss%>";
	var_Level.Count = 15;
exgantt1.Chart.MarkNowColor = Color.FromArgb(255,0,0);

601
Is there a way of making a bar flash on the screen
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Flashy task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarTransparent,80);